package org.suk.dp.simpleFactory;

/**
 * Description:操作client <br/>
 * @version V1.0  2017/6/20 12:03  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class OperationClient {
    public static void main(String[] args) {
        Operation operation = OperationFactory.createOperation(OperationFactory.OperationEnum.DIV);
        operation.setNum1(1);
        operation.setNum2(5);
        System.out.println(operation.getResult());
    }
}
